package com.haixiaoke.saas.apartment.mapper;

import com.haixiaoke.saas.apartment.domain.HouseRequire;

import java.util.List;

/**
 * 房间要求Mapper接口
 * 
 * @author panda
 * @date 2024-03-21
 */
public interface HouseRequireMapper {
    /**
     * 查询房间要求
     * 
     * @param id 房间要求主键
     * @return 房间要求
     */
    HouseRequire selectHouseRequireById(Long id);

    /**
     * 查询房间要求列表
     * 
     * @param houseRequire 房间要求
     * @return 房间要求集合
     */
    List<HouseRequire> selectHouseRequireList(HouseRequire houseRequire);

    /**
     * 新增房间要求
     * 
     * @param houseRequire 房间要求
     * @return 结果
     */
    int insertHouseRequire(HouseRequire houseRequire);

    /**
     * 修改房间要求
     * 
     * @param houseRequire 房间要求
     * @return 结果
     */
    int updateHouseRequire(HouseRequire houseRequire);

    /**
     * 删除房间要求
     * 
     * @param id 房间要求主键
     * @return 结果
     */
    int deleteHouseRequireById(Long id);

    /**
     * 批量删除房间要求
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteHouseRequireByIds(Long[] ids);

    List<HouseRequire> selectHouseRequireByHouseId(String houseId);

    /**
     * 批量插入房间需求
     * @param houseRequireList
     * @return
     */
    int insertBatchHouseRequire(List<HouseRequire> houseRequireList);

    /**
     * 批量编辑房间需求
     * @param houseRequireList
     * @return
     */
    int updateBatchHouseRequire(List<HouseRequire> houseRequireList);
}
